package com.dyz.wsw.domain.admin.repository.persist;

import com.dyz.wsw.domain.admin.pojo.UserInfoDO;
import org.springframework.data.r2dbc.repository.R2dbcRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Mono;

/**
 * @author dyz
 * Time 2024/7/24 13:57
 */
@Repository
public interface UserInfoRepository extends R2dbcRepository<UserInfoDO, Long> {

    Mono<UserInfoDO> findByUserId(Long userId);
}
